package com.example.silang.befoolishble;

import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothManager;
import android.content.Context;

/**
 * Created by Administrator on 2019/1/30.
 */

public class BLeOperator {

/*
    private BluetoothAdapter mBluetoothAdapter;




    public class Builder{


        private long autoStopScanTime;

        public  void  build(){

        }
        public Builder setAutoStopScan(long autoStopScanTime){

            this.autoStopScanTime = autoStopScanTime;

            return  this;
        }


    }










    //TODO 获取 BluetoothAdapter
    private BluetoothAdapter getBluetoothAdapter() {
        BluetoothAdapter mBluetoothAdapter;

        // Initializes Bluetooth adapter.
        final BluetoothManager bluetoothManager =
                (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
        mBluetoothAdapter = bluetoothManager.getAdapter();

        return mBluetoothAdapter;
    }*/
}
